Working with configurations

You use SNiFF+'s Configuration Manager to work with configurations of your software system. This section covers

- Looking at configurations
- Comparing two configurations
- Checking out a configuration
- Freezing configurations
- Renaming configurations
- Deleting configurations

For details about the Configuration Manager's user interface, please refer to the Reference Guide.
Looking at configurations

Open the SNiFF+ project whose configuration information you want to view.
Choose Tools > Configuration Manager.
The Configuration Manager appears. Complete the remaining steps in this section in this tool.
In the Configuration Manager's Project Tree, checkmark the projects that you want to view.
Press the Update button to load the configuration information for the checkmarked projects.
When the update process is over, you should see a list of configurations for the checkmarked projects in the Configuration List.
To look at the details of a particular configuration, select it in the Configuration List.
The Configuration Manager now displays all the files that are part of the selected configuration.

Comparing two configurations
To see what differences exist between two configurations of your software system:

Select one of the two configurations in the Configuration List.
Select the other configuration in the Compared To List.
SNiFF+ displays the differences between the two configurations in the Change List. Icons in the Change List indicate the nature of the difference. Online, use the Configuration Managers Help(?) > Quick menu for a description of the various icons, or see the Reference Guide.
You can look more closely at any change sets in the Change List. To do so, select the change set. SNiFF+ displays the files in the selected change set in the File List.

Checking out a configuration
You can check out a complete configuration of your software system in your working environment. To so do:

Select the configuration you want to check out in the Configuration List.
Choose Configuration > Check Out <Configuration>....
A Check Out Configuration dialog appears, in which you can specify how you want your version control tool to lock the configuration.
Choose a locking mechanism (see page Locking files during check-out for a description).

Freezing configurations
You can freeze either the latest version of selected files in your software system or the Default Configuration for the working environment you are currently in.
Freezing the latest version of your software system
When you freeze the latest version of your software system, you create a new configuration that consists of the latest ( HEAD) version of all your version controlled files.
To freeze the latest version:

If you have a single root SNiFF+ project for your software system, open this project.
Open the Configuration Manager.
Select HEAD in the Configuration list.
Choose Configuration > Freeze Head....
A Freeze Configuration dialog appears.

5. Enter the name of the new configuration in the Configuration field and press Ok. Note that if you enter an existing configuration name, the original configuration will be deleted.
   The new frozen configuration will appear in the Configuration List as the newest configuration below the

HEAD configuration.
Freezing a Default Configuration
You can freeze the Default Configuration in the working environment you are currently in. When you freeze the Default Configuration, you create a new configuration that consists of all the files that are part of the Default Configuration.
To freeze the Default Configuration:

If you have a single root SNiFF+ project for your software system, open this project.
Open the Configuration Manager.
Choose Configuration > Freeze Default Configuration....
A Freeze Default Configuration dialog appears.
Enter the name of the new configuration in the Configuration field and press Ok. Note that if you enter an existing configuration name, the original configuration will be deleted.
The new frozen configuration appears in the Configuration List.

Renaming configurations
To rename a configuration:

Select the configuration in the Configuration List.
Choose Configuration > Rename Configuration Name....
The Rename Configuration dialog appears.
Choose the new name for the configuration and press Ok.
SNiFF+ renames the configuration in all the projects checkmarked in the Configuration Manager's Project Tree.

Deleting configurations
To delete a configuration:

Select the configuration in the Configuration List.
Choose Configuration > Delete Configuration Name....
The Delete Configuration dialog appears and asks you to confirm the deletion.
Press Ok.
SNiFF+ requests your version control tool to delete the configuration name from your Repository. Note that your version control tool will not delete any files that are associated with the deleted configuration.